package com.flowable.modules.rest.utils;

public class Result {

    public final static Integer SUCCESS = 200;
    public final static Integer FAILED = 500;

    private Integer code;
    private Object msg;

    public Result(Integer code, Object msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Object getMsg() {
        return msg;
    }

    public void setMsg(Object msg) {
        this.msg = msg;
    }
}
